//
//  NSMAssetPickerController.h
//  NSMKit
//
//  Created by nsm on 2019/3/4.
//  Copyright © 2019 nani. All rights reserved.
//

//#import "NSMViewController.h"
#import "NSMAssetsManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface NSMAssetPickerController : NSMViewController
/** 每列显示多少个,默认4 */
@property (nonatomic) NSUInteger arrangedCount;
/** 最少选择多少张,默认0 */
@property (nonatomic) NSUInteger minimumSelectedCount;
/** 最多选择多少张,默认1, >1即视为多选 */
@property (nonatomic) NSUInteger maximumSelectedCount;
/** 资源类型,默认NSMAssetPickerSourceTypeAll */
@property (nonatomic) NSMAssetSourceType sourceType;
/** 分组相册 */
@property (nonatomic, strong) NSMAssetsGroup *assetsGroup;
/** 选中资源 */
@property (nonatomic, copy) void(^didSelectItem)(NSMAsset *asset);
@end

NS_ASSUME_NONNULL_END
